#{extends 'main.html' /}
#{set title:'Add a Component' /}	
<h2>Add a Component:<h2/><hr/>
#{form @Projects.createComponent(project.id)}
	Name:<br/>
	<input type="text" name="name"/> <br/>
	Description/Goal <br/>
	<textarea name="description" id="description" rows="6" cols="20"></textarea><br/>
	<input type="submit" value="Add" /> <a href="@{Projects.showProject(project.getEntityId())}"><input type="button" value="Cancel" /></a>
#{/form}